import { registerPanelItemProvider } from "@ibiz-template/runtime";
import { App } from "vue";
import { PanelRawItemProvider } from "./i-biz-panel-raw-item.provider";
import PanelRawItem from './i-biz-panel-raw-item.vue'

export const IBizPanelRawItem = {
  install(v: App) {
    v.component('IBizPanelRawItem', PanelRawItem);
    registerPanelItemProvider("RAWITEM", () => new PanelRawItemProvider());
    registerPanelItemProvider(
      "RAWITEM_STATIC_IMAGE",
      () => new PanelRawItemProvider()
    );
    registerPanelItemProvider(
      "RAWITEM_STATIC_LABEL",
      () => new PanelRawItemProvider()
    );
    registerPanelItemProvider(
      "RAWITEM_STATIC_TEXT",
      () => new PanelRawItemProvider()
    );
  },
};
